package com.maxsalad.uc.pojo;

import com.maxsalad.common.po.AutoBasePO;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Created by 2014-400 on 2016-03-16.
 */
@Entity
@Table(name = "t_platform_shop")
public class TPlatformShopEntity extends AutoBasePO implements Serializable {
    private long platformId;
    private long shopId;
    private String shopPid;
    private String baseUrl;
    private String appKey;
    private String appSecret;
    private String description;

    @Column(name = "platform_id", nullable = false)
    public long getPlatformId() {
        return platformId;
    }

    public void setPlatformId(long platformId) {
        this.platformId = platformId;
    }

    @Column(name = "shop_id", nullable = false)
    public long getShopId() {
        return shopId;
    }

    public void setShopId(long shopId) {
        this.shopId = shopId;
    }

    @Column(name = "shop_pid", nullable = false)
    public String getShopPid() {
        return shopPid;
    }

    public void setShopPid(String shopPid) {
        this.shopPid = shopPid;
    }

    @Column(name = "base_url", nullable = false)
    public String getBaseUrl() {
        return baseUrl;
    }

    public void setBaseUrl(String baseUrl) {
        this.baseUrl = baseUrl;
    }

    @Column(name = "app_key", nullable = false)
    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    @Column(name = "app_secret", nullable = false)
    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }

    @Column(name = "description", nullable = true)
    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
